package com.wnx.job.modules.nms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangnaixing
 * @since 2021-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("nms_channel")
@ApiModel(value="NmsChannel对象", description="")
public class NmsChannel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "上级栏目ID")
    private Long parentId;

    @ApiModelProperty(value = "栏目名称")
    private String name;

    @ApiModelProperty(value = "是否单页:1->单页0->不单页")
    private Boolean single;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "栏目位置:1->二级导航2->轮播图")
    private Integer position;

    @ApiModelProperty(value = "创建时间")
    private Date created;

    @ApiModelProperty(value = "修改时间")
    private Date updated;

    @ApiModelProperty(value = "状态:0->不激活1->激活")
    private Integer status;


}
